<template>
  <div>
      <input type="text" placeholder="请输入账号">
      <input type="password" placeholder="请输入密码">
  </div>
</template>

<script>
export default {
    destroyed () {
        console.log('账号密码组件销毁了')
    },

    activated () {
        console.log('账号密码显示了')
    },
    deactivated () {
        console.log('账号密码隐藏了')
    }
}
</script>

<style>

</style>